Systems and methods for detecting malicious PDF network content

ABSTRACT

Systems and methods for detecting malicious PDF network content are provided herein. According to some embodiments, the methods may include at least the steps of examining received PDF network content to determine if one or more suspicious characteristics indicative of malicious network content are included in the PDF network content, providing PDF network content determined to include at least one suspicious characteristic to one or more virtual machines, and analyzing responses received from the one or more virtual machines to verify the inclusion of malicious network content in the PDF network content determined to include at least one suspicious characteristic.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation-in-part of U.S. patent application Ser. No. 12/263,971 entitled “Systems and Methods for Detecting Malicious Network Content” and filed on Nov. 3, 2008. This application is also related to co-pending U.S. patent application Ser. No. 11/409,355 entitled “Heuristic Based Capture with Replay to Virtual Machine” and filed on Apr. 20, 2006, which is a continuation-in-part of U.S. patent application Ser. No. 11/152,286 entitled “Computer Worm Defense System and Method” and filed on Jun. 13, 2005, which claims the priority benefit of U.S. Provisional Patent Application Ser. No. 60/579,910 entitled “Computer Worm Defense System and Method” and filed on Jun. 14, 2004. U.S. patent application Ser. No. 11/409,355 is also a continuation-in-part of U.S. patent application Ser. No. 11/096,287 entitled “System and Method of Detecting Computer Worms” and filed on Mar. 31, 2005, which claims the priority benefit of U.S. Provisional Patent Application Ser. No. 60/559,198 entitled “System and Method of Detecting Computer Worms” and filed on Apr. 1, 2004. U.S. patent application Ser. No. 11/409,355 is also a continuation-in-part of U.S. patent application Ser. No. 11/151,812 entitled “System and Method of Containing Computer Worms” and filed on Jun. 13, 2005, which claims the priority benefit of U.S. Provisional Patent Application No. 60/579,953 entitled “System and Method of Containing Computer Worms” and filed on Jun. 14, 2004. Each of the aforementioned patent applications are incorporated by reference herein.

BACKGROUND

1. Field of the Invention

The present invention relates generally to network security and more particularly to detecting malicious network content.

2. Related Art

Presently, malicious network content (e.g., malicious software or malware) can attack various devices via a communication network. For example, malware may include any program or file that is harmful to a computer user, such as bots, computer viruses, worms, Trojan horses, adware, spyware, or any programming that gathers information about a computer user or otherwise operates without permission.

Adware is a program configured to direct advertisements to a computer or a particular user. In one example, adware identifies the computer and/or the user to various websites visited by a browser on the computer. The website may then use the adware to either generate pop-up advertisements or otherwise direct specific advertisements to the user's browser. Spyware is a program configured to collect information regarding the user, the computer, and/or a user's network habits. In an example, spyware may collect information regarding the names and types of websites that the user browses and then transmit the information to another computer. Adware and spyware are often added to the user's computer after the user browses to a website that hosts the adware and/or spyware. The user is often unaware that these programs have been added and are similarly unaware of the adware and/or spyware's function.

Various processes and devices have been employed to prevent the problems that malicious network content can cause. For example, computers often include antivirus scanning software that scans a particular client device for viruses. Computers may also include spyware and/or adware scanning software. The scanning may be performed manually or based on a schedule specified by a user associated with the particular computer, a system administrator, and so forth. Unfortunately, by the time a virus or spyware is detected by the scanning software, some damage on the particular computer or loss of privacy may have already occurred.

In some instances, malicious network content comprises a bot. A bot is a software robot configured to remotely control all or a portion of a digital device (e.g., a computer) without authorization by the digital device's legitimate owner. Bot related activities include bot propagation and attacking other computers on a network. Bots commonly propagate by scanning nodes (e.g., computers or other digital devices) available on a network to search for a vulnerable target. When a vulnerable computer is scanned, the bot may install a copy of itself. Once installed, the new bot may continue to seek other computers on a network to infect. A bot may also be propagated by a malicious web site configured to exploit vulnerable computers that visit its web pages.

A bot may also, without the authority of the infected computer user, establish a command and control communication channel to receive instructions. Bots may receive command and control communication from a centralized bot server or another infected computer (e.g., via a peer-to-peer (P2P) network established by a bot on the infected computer). When a plurality of bots (i.e., a botnet) act together, the infected computers (i.e., zombies) can perform organized attacks against one or more computers on a network, or engage in criminal enterprises. In one example, bot infected computers may be directed to flood another computer on a network with excessive traffic in a denial-of-service attack. In another example, upon receiving instructions, one or more bots may direct the infected computer to transmit spam across a network. In a third example, bots may host illegal businesses such as pharmaceutical websites that sell pharmaceuticals without a prescription.

Malicious network content may be distributed over a network via web sites, e.g., servers operating on a network according to an HTTP standard. Malicious network content distributed in this manner may be actively downloaded and installed on a user's computer, without the approval or knowledge of the user, simply by accessing the web site hosting the malicious network content. The web site hosting the malicious network content may be referred to as a malicious web site. The malicious network content may be embedded within data associated with web pages hosted by the malicious web site. For example, a web page may include JavaScript code, and malicious network content may be embedded within the JavaScript code. In this example, the malicious network content embedded within the JavaScript code may be obfuscated such that it is not apparent until the JavaScript code is executed that the JavaScript code contains malicious network content. Therefore, the malicious network content may attack or infect a user's computer before detection by antivirus software, firewalls, intrusion detection systems, or the like.

Beginning on or about 2009, it became a widespread practice for the authors of bots to use malicious documents in the Portable Document Format (PDF) of Adobe Systems Inc. to propagate web borne attacks. Malicious PDF documents were hosted on web servers controlled by criminals, and then links to them created from many other websites. Innocent users could therefore accidentally, without realizing, browse a website which would cause a malicious PDF to be loaded into their browser, and from their into a PDF reader, which it would then exploit in order to gain control of the user's computer account, or entire computer. From there, malicious bot software would be installed.

SUMMARY

According to some embodiments, the present invention may be directed to methods detecting malicious portable document format (PDF) network content may include at least the steps of (a) examining at least a portion of received PDF network content to determine if one or more suspicious characteristics indicative of malicious network content are included in the at least a portion of PDF network content; and (b) wherein if the at least a portion of PDF network content is determined to include one or more suspicious characteristics indicative of malicious network content, providing the at least a portion of PDF network content to one or more virtual machines to verify the inclusion of malicious network content in the at least a portion of PDF network content.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of an exemplary malicious network content detection environment 100.

FIG. 2 illustrates an exemplary analysis environment.

FIG. 3 illustrates an exemplary method for detecting malicious network content.

FIG. 4 illustrates another exemplary method for detecting malicious network content.

FIG. 5 illustrates an exemplary controller.

FIG. 6 illustrates an exemplary malicious PDF network content detection environment.

FIG. 7 illustrates an exemplary method for detecting malicious PDF network content.

DESCRIPTION OF EXEMPLARY EMBODIMENTS

Network content may include any data transmitted over a network (i.e., network data). Network data may include text, software, images, audio, or other digital data. An example of network content includes web content, or any network data that may be transmitted using a Hypertext Transfer Protocol (HTTP), HyperText Markup Language (HTML) protocol, or be transmitted in a manner suitable for display on a web browser software application. Another examples of network content includes email messages, which may be transmitted using an email protocol such as Simple Mail Transfer Protocol (SMTP), Post Office Protocol version 3 (POP3), or Internet Message Access Protocol (IMAP4). A further example of network content includes Instant Messages, which may be transmitted using an Instant Messaging protocol such as Session Initiation Protocol (SIP) or Extensible Messaging and Presence Protocol (XMPP). In addition, network content may include any network data that is transferred using other data transfer protocols, such as File Transfer Protocol (FTP). We distinguish network content from network protocol header information used for addressing, routing, and otherwise delivering the network content.

To detect malicious network content (e.g., malicious web content) being transmitted over a communication network to a computing device, a virtual machine may be used to simulate the receipt and processing of network content on the receiving system. A determination may be made as to whether the network content is malicious based on a response of the virtual machine to the network content. Sometimes, suspicious network content is determined to be non-malicious. Processing the suspicious network content in a virtual machine is an important step to determine whether the suspicious network content is in fact malicious and prevent a false assumption that the suspicious network content is malicious. False positives in detecting malicious network content may be avoided by processing suspicious network content in a virtual machine and detecting malicious network content by analyzing the virtual machine's response to the suspicious network content.

In the prior art, a proxy may be used in the network between the computing device and a web server hosting the malicious network content. The proxy may intercept a request for network content issued by a web browser executing on the computing device. The proxy may then issue the request to the web server as a proxy on behalf of the computing device. The proxy may receive a response to the request from the web server. The proxy may then process a data exchange including the request and response on a virtual machine and evaluate the virtual machine's response to the data exchange to detect malicious network content. If no malicious network content is detected, the proxy may forward the requested network content to the computing device from which the original request originated.

Because each data exchange is processed using a virtual machine, this approach is highly computation intensive, and is not scalable for large numbers of computing devices on a network. Also, because the requested network content is not delivered to the computing device until after it has been determined that the requested network content does not include malicious network content, a significant delay is introduced between the request for network content and the delivery of the requested network content.

Provos et al. (N. Provos, P. Mavrommatis, M. A. Rajab, and F. Monrose, “All your iFRAMEs Point to Us,” Google Technical Report Provos-2008a, Feb. 4, 2008) reported on an analysis of web malware using a large web repository and corpus of malicious URLs. Provos et al. collected data for the analysis by first using a machine-learning framework in a pre-processing phase to extract features from web pages in the web repository and translate the features into a likelihood score. Next, a virtual machine was used in a verification phase to verify candidates identified by the machine-learning framework. Approximately 0.1% of the web pages in the web repository were processed by the virtual machine in the verification phase. Provos et al. noted that exhaustive inspection of each URL in the repository is prohibitively expensive. The system used by Provos et al. relied on a crawler proceeding gradually through the web to gather data in the repository for inspection, and could not inspect and select web pages in transit in the network for examination in a virtual machine.

FIG. 1 is a diagram of an exemplary malicious network content detection environment 100. The malicious network content detection environment 100 comprises a server device 105, a client device 110, and a tap 115 (also known as “a data access component”), each coupled to a communication network 120. In various embodiments, there may be multiple server devices 105 and multiple client devices 110. The tap 115 is further coupled to a malicious network content detection system 125. The malicious network content detection system 125 may monitor exchanges of network content (e.g., web content) rather than intercepting and holding the network content until after determining whether the network content includes malicious network content. The malicious network content detection system 125 may be configured to inspect exchanges of network content over the communication network 120, identify suspicious network content, and analyze the suspicious network content using a virtual machine to detect malicious network content. In this way, the malicious network content detection system 125 may be computationally efficient and scalable as data traffic volume and a number of computing devices communicating over the communication network 120 increase. Therefore, the malicious network content detection system 125 may not become a bottleneck in the malicious network content detection environment 100.

The communication network 120 may include a public computer network such as the Internet, or a private computer network such as a wireless telecommunication network, wide area network, or local area network, or a combination of networks. Though the communication network 120 may include any type of network and be used to communicate different types of data, communications of web data may be discussed below for purposes of example.

The server device 105 and the client device 110 may include digital devices. Some examples of digital devices include computers, servers, laptops, personal digital assistants, and cellular telephones. The server device 105 may be configured to transmit network data over the communication network 120 to the client device 110. The client device 110 may be configured to receive the network data from the server device 105. The network data may include network content, such as web pages transmitted using a network communications protocol (e.g., Hypertext Transfer Protocol, or HTTP). In various embodiments, the server device 105 may include a web server configured to provide network content. The client device 110 may include a web browser configured to retrieve and/or display network content.

The tap 115 may include a digital data tap configured to monitor network data and provide a copy of the network data to the malicious network content detection system 125. Network data may comprise signals and data that are transmitted over the communication network 120 including data flows from the server device 105 to the client device 110. In one example, the tap 115 monitors and copies the network data without an appreciable decline in performance of the server device 105, the client device 110, or the communication network 120. The tap 115 may copy any portion of the network data. For example, the tap 115 may receive and copy any number of data packets from the network data.

In some embodiments, the network data may be organized into one or more data flows and provided to the malicious network content detection system 125. In various embodiments, the tap 115 may sample the network data based on a sampling scheme. Data flows may then be reconstructed based on the network data samples.

The tap 115 may also capture metadata from the network data. The metadata may be associated with the server device 105 and/or the client device 110. For example, the metadata may identify the server device 105 and/or the client device 110. In some embodiments, the server device 105 transmits metadata, which is captured by the tap 115. In other embodiments, a heuristic module 130 (described herein) may determine the server device 105 and the client device 110 by analyzing data packets within the network data in order to generate the metadata.

The malicious network content detection system 125 may include a digital device, software, or a combination thereof that receives network data from the tap 115. The malicious network content detection system 125 includes a heuristic module 130, a heuristics database 135, a scheduler 140, a virtual machine pool 145, and an analysis environment 150. In some embodiments, the tap 115 may be contained within the malicious network content detection system 125.

The heuristic module 130 receives the copy of the network data from the tap 115 and applies heuristics to the data to determine if the network data might contain suspicious network content. The heuristics applied by the heuristic module 130 may be based on data and/or rules stored in the heuristics database 135. In one example, the heuristic module 130 flags network data as suspicious after applying a heuristic analysis. The network data may then be buffered and organized into a data flow. The data flow may then be provided to the scheduler 140. In some embodiments, the suspicious network data is provided directly to the scheduler 140 without buffering or organizing the data flow. In other embodiments, a notification of a group of data flows (e.g., a set of related web page requests and responses) may be sent to the scheduler 140 for later retrieval by the virtual machine.

The heuristic module 130 may perform one or more heuristic analyses on the network data. The heuristic module 130 may retain data packets belonging to a particular data flow previously copied by the tap 115. In one example, the heuristic module 130 receives data packets from the tap 115 and stores the data packets within a buffer or other memory. Once the heuristic module 130 receives a predetermined number of data packets from a particular data flow, the heuristic module 130 performs the heuristics and/or probability analysis.

In some embodiments, the heuristic module 130 performs a heuristic analysis on a set of data packets belonging to a data flow and then stores the data packets within a buffer or other memory. The heuristic module 130 may then continue to receive new data packets belonging to the same data flow. Once a predetermined number of new data packets belonging to the same data flow are received, the heuristic analysis may be performed upon the combination of buffered and new data packets to determine a likelihood of suspicious network content.

In some embodiments, an optional buffer receives the flagged network data from the heuristic module 130. The buffer may be used to store and organize the flagged network data into one or more data flows before providing the one or more data flows to the scheduler 140. In various embodiments, the buffer is used to store network data until the network data is provided to the scheduler 140. In one example, the buffer stores the network data to allow other components of the malicious network content detection system 125 time to complete functions or otherwise clear data congestion.

In some embodiments, the heuristic module 130 may maintain copies of network content data of potential interest to virtual machines and provide the network content data on request (e.g., when a web browser later executes inside a virtual machine and requests entities that were transmitted on the network earlier). The length of time that the heuristic module 130 keeps this data in memory may be based on how suspicious the data is, how much workload the system is under, and/or other factors.

The scheduler 140 may identify the client device 110 and retrieve a virtual machine associated with the client device 110. A virtual machine is software that is configured to mimic the performance of a device (e.g., the client device 110). The virtual machine may be retrieved from the virtual machine pool 145. Furthermore, the scheduler 140 may identify a web browser running on the client device 110, and retrieve a virtual machine associated with the web browser.

In some embodiments, the heuristic module 130 transmits the metadata identifying the client device 110 to the scheduler 140. In other embodiments, the scheduler 140 receives one or more data packets of the network data from the heuristic module 130 and analyzes the one or more data packets to identify the client device 110. In yet other embodiments, the metadata may be received from the tap 115.

The scheduler 140 may retrieve and configure the virtual machine to mimic the pertinent performance characteristics of the client device 110. In one example, the scheduler 140 configures the characteristics of the virtual machine to mimic only those features of the client device 110 that are affected by the network data copied by the tap 115. The scheduler 140 may determine the features of the client device 110 that are affected by the network data by receiving and analyzing the network data from the tap 115. Such features of the client device 110 may include ports that are to receive the network data, select device drivers that are to respond to the network data, and any other devices coupled to or contained within the client device 110 that can respond to the network data. In other embodiments, the heuristic module 130 may determine the features of the client device 110 that are affected by the network data by receiving and analyzing the network data from the tap 115. The heuristic module 130 may then transmit the features of the client device to the scheduler 140.

The virtual machine pool 145 may be configured to store one or more virtual machines. The virtual machine pool 145 may include software and/or a storage medium capable of storing software. In one example, the virtual machine pool 145 stores a single virtual machine that can be configured by the scheduler 140 to mimic the performance of any client device 110 on the communication network 120. The virtual machine pool 145 may store any number of distinct virtual machines that can be configured to simulate the performance of a wide variety of client devices 110.

The analysis environment 150 simulates the receipt and/or display of the network content from the server device 105 after the network content is received by the client device 110 to analyze the effects of the network content upon the client device 110. The analysis environment 150 may identify the effects of malware or malicious network content by analyzing the simulation of the effects of the network content upon the client device 110 that is carried out on the virtual machine. There may be multiple analysis environments 150 to simulate multiple streams of network content. The analysis environment 150 is further discussed with respect to FIG. 2.

Although FIG. 1 depicts data transmitted from the server device 105 to the client device 110, either device can transmit and receive data from the other. Similarly, although only two devices are depicted, any number of devices can send and/or receive data across the communication network 120. Moreover, the tap 115 can monitor and copy data transmitted from multiple devices without appreciably affecting the performance of the communication network 120 or the devices coupled to the communication network 120.

FIG. 2 illustrates an exemplary analysis environment 150. The analysis environment 150 includes a replayer 205, a virtual switch 210, and a virtual machine 215. The replayer 205 receives network content that has been flagged by the heuristic module 130 and provides the network content to the virtual machine 215 via the virtual switch 210 (i.e., replays the network content) in the analysis environment 150. In some embodiments, the replayer 205 mimics the behavior of the server device 105 in transmitting the flagged network content. There may be any number of replayers 205 simulating the transmission of network content between the server device 105 and the client device 110. In a further embodiment, the replayer 205 dynamically modifies session variables, as is appropriate, to emulate a “live” client or server of the protocol sequence being replayed. In one example, dynamic variables that may be dynamically substituted include dynamically assigned ports, transaction IDs, and any other variable that is dynamic to each protocol session.

The virtual switch 210 may include software that is capable of forwarding packets of flagged network content to the virtual machine 215. In one example, the replayer 205 simulates the transmission of the data flow by the server device 105. The virtual switch 210 simulates the communication network 120, and the virtual machine 215 simulates the client device 110. The virtual switch 210 may route the data packets of the data flow to the correct ports of the virtual machine 215.

In some embodiments, requests for data from client software in the virtual machine 215 (e.g., a web browser) may be proxied by the replayer to the heuristic module 130 where the data has been cached, and a response from the heuristic module 130 may then be proxied back to the client software executing in the virtual machine 215.

The virtual machine 215 includes a representation of the client device 110 that may be provided to the analysis environment 150 by the scheduler 140. In one example, the scheduler 140 retrieves an instance of the virtual machine 215 from the virtual machine pool 145 and configures the virtual machine 215 to mimic a client device 110. The configured virtual machine 215 is then provided to the analysis environment 150 where it may receive flagged network content from the virtual switch 210.

As the analysis environment 150 simulates the transmission and reception of the network content, behavior of the virtual machine 215 can be closely monitored for unauthorized activity. If the virtual machine 215 crashes, performs illegal operations, performs abnormally, or allows access of data to an unauthorized entity (e.g., an unauthorized computer user, a bot, etc.), the analysis environment 150 may react. In one example, the analysis environment 150 may transmit a command to the client device 110 to stop accepting the network content or data flows from the server device 105.

In some embodiments, the analysis environment 150 monitors and analyzes the behavior of the virtual machine 215 in order to determine a specific type of malware or malicious network content. The analysis environment 150 may also generate computer code configured to eliminate new viruses, worms, bots, adware, spyware, or other malware or malicious network content. In various embodiments, the analysis environment 150 generates computer code configured to repair damage performed by malware or malicious network content. By simulating the transmission and reception of suspicious network content and analyzing the response of the virtual machine 215, the analysis environment 150 may identify known and previously unidentified malware and malicious network content before a computer system is damaged or compromised.

FIG. 3 illustrates an exemplary method 300 for detecting malicious network content. In step 305, a packet of network content is intercepted or copied. The packet may be intercepted and/or copied from a network data transmission between the server device 105 and an intended destination (e.g., the client device 110), such as by the tap 115. Alternatively, the packet may be intercepted and/or copied from a network data transmission between the client device 110 and an intended destination (e.g., the server device 105). The packet may include a request for data, such as network content, or data provided in response to a request.

In step 310, a packet of network content is inspected. The heuristic module 130 may utilize one or more heuristics to inspect the packet of network content for suspicious network content which indicates the potential presence of malicious network content or malware within the packet.

A packet of network content may be part of a data flow which includes additional packets of network content. For example, the packet of network content may represent a portion of a web page, while other related packets in the data flow represent additional portions of the web page. The packet of network content may be stored along with the other related packets of network content comprising the data flow, such that multiple packets of network content within the data flow may be inspected in a sequence or in parallel. The malicious network content detection system may store the packets of network content and all or a portion of a data flow. The data flow and data packets may be stored for any length of time, from a few seconds to minutes, tens of minutes, or more, for analysis at any time.

To facilitate longer storage times for data flows over a high data rate communication network, large data objects comprised of numerous data packets may be truncated to a small subset of representative data packets. Data object truncation is particularly useful where network communication bandwidth is mostly utilized by a small percentage of large data objects, such as video. For example, video data may be truncated to a few data packets, such as the first few data packets. An extent to which the large data objects are truncated may be adaptive based on available memory, data bandwidth, type of data objects, and other factors. An amount of memory allocated to storing a data flow may also be dependent upon a characteristic of the data flow, such as data type. In an example, octet streams, text streams, HTML streams, and miscellaneous binary streams may be allocated 1 megabyte (MB). Images and PDF files may be allocated 384 kilobytes (kB). Video, audio, and most other data types may be allocated 128 kB. The memory allocated to storing each data flow type may be adjusted, periodically or dynamically, to improve analysis throughput while maintaining accuracy in detection of malicious network content and working within memory limitations.

In step 315, a suspicious characteristic of the network content is identified. The heuristic module 130 may identify the suspicious characteristic of the network content as a result of inspecting the network content in step 310. When a characteristic of the packet, such as a sequence of characters or keyword, is identified that meets the conditions of a heuristic used in step 310, a suspicious characteristic or “feature” of the network content is identified. The identified features may be stored for reference and analysis. In some embodiments, the entire packet may be inspected and multiple features may be identified before proceeding to the next step. In some embodiments, features may be determined as a result of an analysis across multiple packets comprising the network content.

Keywords used by heuristics may be chosen by performing an approximate Bayesian probability analysis of all the keywords in an HTML specification using a corpus of malicious network content and a corpus of non-malicious network content. The approximate Bayesian probability analysis may be based on the principles of the Bayesian theorem and/or naïve Bayesian classification. For instance, a probability P_(m) that the keyword appears in malicious network content may be computed using the corpus of malicious network content, while a probability P_(n) that the keyword appears in non-malicious network content may be computed using the corpus of non-malicious network content. A given keyword may be determined to be a suspicious characteristic for being associated with malicious network content if a score based on a computed ratio P_(m)/P_(n) exceeds a threshold of suspicion. The threshold of suspicion may be a value greater than 1, 10, 30, 60, 100, or some other number indicating how much more likely the suspicious characteristic is to indicate malicious network content than to indicate non-malicious network content.

In step 320, a score related to a probability that the suspicious characteristic identified in step 315 indicates malicious network content is determined. An approximate Bayesian probability analysis may be used to determine the score. In various embodiments, the approximate Bayesian probability analysis may be performed in real-time or using a look-up table based on a previously performed approximate Bayesian probability analysis.

For example, the approximate Bayesian probability analysis may be performed to determine a relative probability score that a particular feature is associated with the presence of malicious network content in a packet by comparing a corpus of malicious network content and a corpus of regular, non-malicious network content. A feature may include a characteristic of the packet, such as a sequence of characters or keyword, that meets the conditions of a heuristic used in step 310. The feature may also include a characteristic involving more than one packet inspected in sequence or in parallel. An example of a feature may include the character sequence “eval(unescape(”, which indicates a JavaScript “unescape” command nested within a JavaScript “eval” command argument. Further examples of features are described below with respect to step 445 in method 400. A probability P_(f|m) that the feature is present in a packet of malicious network content is computed by analyzing the corpus of malicious network content. A probability P_(f|n) that the feature is present in a packet of non-malicious network content is computed by analyzing the corpus of non-malicious network content. A malicious probability score is computed as the base two logarithm of a relative probability factor P_(m|f) that the feature is associated with malicious network content. The malicious probability score is computed by computing the ratio of the base two logarithm (log₂) of the probability that the feature is present in a packet of malicious network content and the base two logarithm of the probability that the feature is present in a packet of non-malicious network content. The relative probability factor P_(m|f) may be expressed as follows: log₂(P _(m|f))=log₂(P _(f|m))/log₂(P _(f|n))  Equation 1

The size of the result log₂(P_(m|f)) (i.e., malicious probability score) may indicate the probability that the suspicious network content includes malicious network content. For example, a result of eleven may indicate that the feature is approximately two thousand times more likely to appear in malicious network content than in non-malicious network content. Likewise, a value of twelve may indicate that the feature is approximately four thousand times more likely to appear in malicious network content.

In some embodiments, the malicious corpus and/or the non-malicious corpus may be continuously updated in response to monitored network data traffic, and the malicious probability scores associated with the features may be continuously updated in response to the updates to the corpuses. In other embodiments, the corpuses may be created and used in advance to store pre-computed malicious probability scores in a look-up table for reference when features are identified. The features associated with significant probabilities of malicious network content may change as the corpuses change.

In step 325, malicious network content is identified or flagged if the malicious probability score of a feature computed in step 320 satisfies an analysis threshold. The analysis threshold may be greater than 1, 10, 30, 60, 100, 1000, 2000, or higher. The analysis threshold may be preset, or may be variable based on operating conditions of the malicious network content detection system 125. If the malicious probability score does not satisfy the analysis threshold, no action may be taken with regard to the feature associated with the malicious probability score. Otherwise, the analysis may proceed to the next step, such as step 330 for analysis through processing by a virtual machine, such as the virtual machine 215. In some embodiments, the malicious probability scores of all features computed in step 320 may be compared against the analysis threshold to assign a priority level to each feature and/or the packet as a whole. The priority level may be computed based on a variety of factors, such as the number of features identified in the packet, the highest malicious probability score of a feature in the packet, an average malicious probability score of the features in the packet, a mean malicious probability score of the features in the packet, and the like.

The analysis threshold may be adaptive or be frequently updated based on operating conditions of the malicious network content detection system 125. For example, the threshold value may be dynamically revised according to a quantity of packets of network content to be inspected. As a quantity of data packets which are intercepted and/or copied from the network data transmission in step 310 increases, a quantity of data packets to be inspected may also increase. This may increase a computational load and leave less computational bandwidth available for more detailed analysis of the data packets. Consequently, the threshold may be increased to compensate for the decrease in available computational bandwidth for more detailed analysis. As another example, the threshold value may be dynamically revised according to an availability of one or more virtual machines to be used for the more detailed analysis. The threshold value may be set such that only features which have a significant probability of indicating malicious network content are processed using a virtual machine. For example, out of over one thousand features, less than fifty may be considered significant.

There may be multiple dynamically adaptive thresholds, which may be synchronized with each other. For example, the scheduler 140 may use a threshold to determine whether a virtual machine should be dispatched to process a queued suspicious network content. The scheduler 140's threshold may increase due to lack of available computational resources for the analysis environment 150 to execute virtual machines. The heuristic module 130 may use another threshold to determine whether heuristics should be applied to an identified feature. The heuristic module 130's threshold may be based on the malicious probability score for the identified feature. As the scheduler 140's threshold increases, the heuristic module 130's threshold may also increase. This is because flagging suspicious network content based on running heuristics on identified features may be irrelevant and an inefficient use of computational resources if the scheduler 140 will not process the suspicious network content in a virtual machine due to an increased threshold in the scheduler 140.

After suspicious network content has been flagged at step 325 for further analysis, the entire stored data flow including the suspicious network content may be reanalyzed. Each feature may be given a higher malicious probability score by virtue that one feature in the data flow has been found to have a malicious probability score greater than the threshold. A priority level for each feature found in the data flow may also be increased. Furthermore, all data packets and data flows associated with any domains associated with suspicious network content may be cached and given higher priorities and malicious probability scores than they would otherwise. The scheduler 140 may execute the virtual machine to process each flagged suspicious network content in the data flow individually, in priority order, in their original sequence of presentation, or in some other order. The virtual machine may process the suspicious network content until pre-empted by a higher priority suspicious network content.

In step 330, a virtual machine is executed to process the suspicious network content. The virtual machine may effectively replay the suspicious network content in a web browser executing on the virtual machine. The heuristic module 130 may provide the packet containing the suspicious network content to the scheduler 140, along with a list of the features present in the packet and the malicious probability scores associated with each of those features. Alternatively, the heuristic module 130 may provide a pointer to the packet containing the suspicious network content to the scheduler 140 such that the scheduler 140 may access the packet via a memory shared with the heuristic module 130. In another embodiment, the heuristic module 130 may provide identification information regarding the packet to the scheduler 140 such that the scheduler 140, replayer 205, or virtual machine may query the heuristic module 130 for data regarding the packet as needed.

The heuristic module 130 may also provide a priority level for the packet and/or the features present in the packet. The scheduler 140 may then load and configure a virtual machine from the virtual machine pool 145, and dispatch the virtual machine to the analysis environment 150 to process the suspicious network content. The virtual machine may be configured to execute for a minimum amount of processing, or for a minimum period of time, such as approximately 45 seconds. After the minimum period of time passes, the virtual machine may be pre-empted by the scheduler 140 to dispatch another virtual machine. Multiple virtual machines may be run simultaneously.

The scheduler 140 may choose which feature to process first according to the priority levels provided by the heuristic module 130. The scheduler 140 may cause another virtual machine already processing or analyzing another feature or packet, or set of packets, in the analysis environment 150 to terminate prior to dispatching the loaded virtual machine. For example, this may occur if computational resources are occupied with other virtual machines processing other features and therefore are not available to execute the loaded virtual machine. The scheduler 140 may choose which virtual machine(s) to terminate based on the priority levels of the features being processed by the virtual machine, how much time the virtual machine has already spent executing, or other reasons.

The scheduler 140 may reprioritize suspicious network content already in queue to be processed by virtual machines based on newly identified suspicious network content. For example, already queued suspicious network content may be reprioritized if there is a domain identified in common with the newly identified suspicious network content. Numerous incidents of suspicious network content associated with a single domain may increase the priority of all suspicious network content associated with the domain.

The replayer 205 in the analysis environment 150 may keep track of network content requested by the virtual machine. If suspicious network content already in the scheduler 140's queue is requested and processed by the virtual machine while processing other previously dispatched suspicious network content, and the queued suspicious network content is not found to be malicious, then the scheduler 140 may delete the queued suspicious network content from the queue. In this way, computational requirements can be reduced because an item of suspicious network content may only be processed in a virtual machine once, rather than each time a reference to the item of suspicious network content is made by another item of suspicious network content.

In step 335, malicious network content is detected by analyzing the virtual machine response to the suspicious network content. The analysis environment 150 may be configured to monitor the virtual machine for indications that the suspicious network content is in fact malicious network content. The analysis environment 150 may monitor the virtual machine for unusual memory accesses, unusual spawning of executable processes, unusual network transmissions, crashes, unusual changes in performance, and the like. The analysis environment may flag the suspicious network content as malicious network content according to the observed behavior of the virtual machine.

If a virtual machine processes suspicious network content for greater than a predetermined amount of time without any malicious network content being detected, the scheduler 140 may terminate the virtual machine to free up computational resources. The predetermined amount of time may be variable, according to a queue of suspicious network content that is awaiting processing by a virtual machine, the probability that the suspicious network content may be malicious network content, the feature being evaluated by the virtual machine, available computational resources, and the like. For example, the predetermined amount of time may be 45 seconds, two minutes, twenty minutes, or any other length of time.

If the suspicious network content is determined to be malicious network content, the malicious network content detection system 125 may report the malicious network content and/or log the malicious network content for future reference. For example, the malicious network content detection system 125 may generate an alert for a network content packet detected to include malicious network content. The malicious network content detection system 125 may report the malicious network content to an entity responsible for the client device 105. If the malicious network content was determined to originate from the server device 105, the client device 110 may be instructed not to continue network transmissions with the server device 105. If a party responsible for the server device 105 is known, the malicious network content detection system 125 may report the malicious network content to the party responsible for the server device 105. The server device 105 may be added to a list of malicious network content providers, and future network transmissions originating from the server device 105 may be blocked from reaching their intended destinations.

FIG. 4 illustrates another exemplary method 400 for detecting malicious network content. The method 400 may be performed by the heuristic module 130. In the method 400, a packet of network content is inspected to identify features which may indicate the presence of malicious network content. The method 400 may include the use of a single pass parser and/or an augmented finite state machine, which may maintain a stack of states. The method 400 may begin processing a data packet starting with a character after a character sequence “HTTP” has been identified.

In step 405, a data character is read from the data packet. The data character read may be subsequent to the character sequence “HTTP” or a data character previously read in a prior iteration of step 405. A pointer may be incremented to indicate the next data character to read in the method 400.

In step 410, the data character read in step 405 is evaluated to determine if the data character may indicate the start of a possible keyword or a possible feature as described with respect to method 300, or a different kind of data (e.g., JavaScript content embedded in HTML content). The data character may include a left angled bracket (i.e., “<”), for example. If the data character read may indicate the start of a keyword or a feature, the method may proceed to step 415. Otherwise, the method may proceed to step 420.

In step 415, a new state is pushed onto the stack of states to indicate that the method 400 has encountered the start of a keyword or feature. The new state may be an InKeyword state to indicate that the method is in the midst of processing a keyword. Depending on the character read, a different new state may be pushed onto the stack. A string of data characters may be stored, starting with the most recent character read or the next character to be read. The method 400 then proceeds to step 440.

In step 420, the data character read in step 405 is evaluated to determine if the data character may indicate the end of a keyword or a feature as described with respect to method 300. The data character may include a right angled bracket (i.e., “>”), for example. If the data character read may indicate the end of a keyword or a feature, the method may proceed to step 425. Otherwise, the method may proceed to step 440.

In step 425, heuristics to be applied to the data packet are identified and applied based on a character string read, which may start with the data character identified in step 410 and end with the data character identified in step 420. The heuristic module 300 may store the character string. The character string may be compared against a database of character strings stored in the heuristics database 135 to determine one or more heuristics that may be applied to the data packet based on the keyword. In some embodiments, a list of results of applying heuristics may be created. The list of results may be stored so that the list may be referenced in step 445.

Some examples of a heuristic that may be applied to the packet include keyword matches. Some keywords may be associated more with malicious network content than non-malicious network content, and their presence in a packet of network content may be an indication that the packet contains suspicious network content.

In one exemplary heuristic, an object filename's extension following a period may be examined. For example, a filename ending in the characters “.ini”, “.anr”, or “.htm” may be determined to be suspicious. Also, a filename generally associated with one filetype but associated with a different file type in the reference may be determined to be suspicious. For example, a filename ending in “.jpg” which is not referring to an image file may be determined to be suspicious.

In other exemplary heuristics, content of web pages may be analyzed to determine whether network content is suspicious. For example, presence of small iframes, such as an iframe in which the width and/or height is 0 or 1 pixel, in a web page may be determined to be suspicious.

Further examples of heuristics may be associated with JavaScript code sequences. When an “eval(unescape( . . . ))” JavaScript command sequence, which includes an “unescape” command nested within the argument of an “eval” command, is detected in the data packet, the heuristic may evaluate the command sequence to identify suspicious network content. The “eval(unescape( . . . ))” command sequence may be used to obfuscate malicious network content so that the malicious network content is not easily detected in the network data transmission, and may therefore indicate suspicious network content.

Another example of a heuristic is a length of the argument of the “unescape” or other JavaScript function from a starting character to an ending character. The length may be determined by counting a number of characters, or measuring a length of time, between the opening parenthesis and the closing parenthesis after “unescape” or other function name. A greater number of characters between the parentheses may indicate that an obfuscated body to the command is being used.

Bi-gram detection is another exemplary heuristic that may be employed in JavaScript or other types of network content. In bi-gram detection, character transitions within the network content are analyzed. A table of conditional probabilities may be generated and updated continuously as data is evaluated. The table of conditional probabilities indicates the probability of each second character appearing after each first character. The conditional probability of a second character C₂ given the first character C₁ may be written as P(C₂|C₁). The heuristic may identify when a string of unusual character transitions occurs according to the table of conditional probabilities. Thresholds for the length of the string of unusual character transitions, combined with the values of the conditional probabilities that flags the character transitions as being unusual, may be set a priori based on an approximate Bayesian probability analysis using a corpus of malicious network content and a corpus of non-malicious network content. Alternatively, the thresholds may be adjusted in near real time as the table of conditional probabilities is updated. For example, a long string of unusual character transitions may indicate the presence of malicious network content in a JavaScript “eval(unescape( . . . ))” clause.

The use of domain profiles is another exemplary heuristic that may be used to reduce a rate of false positives from other heuristics. The domain profiles heuristic may be used in conjunction with other heuristics in order to increase throughput and reduce computational requirements for detecting malicious network content. Each network domain with which monitored network content is exchanged may be cataloged and annotated with a list of the features present in network content associated with the network domain. A typical network domain may be approximately constant in the features present in associated network content. When a feature is identified by another heuristic, the feature may be looked up in the list of features associated with the network domain. If the feature is listed as being associated with the network domain, and malicious network content was not previously detected due to identification of the feature in network content associated with the domain, a virtual machine may not be executed to process the network content containing the feature associated with the network domain. If, on the other hand, the feature was not previously detected or associated with the network domain, the network content may be identified as being suspicious and processed by a virtual machine.

A list of domains or web sites containing malicious network content may be maintained. The list of sources of malicious network content may be hosted on the computer network and accessible by clients on the computer network. The heuristic module 130 may access the list of domains and web sites containing malicious network content to supplement the information provided by the domain profiles heuristic. For example, the threshold for network content associated with a web site on a list of malicious network content sources may be set to be lower and/or the priority of a suspicious network content may be set higher than for other network content. When malicious network content is detected, the list of domains may be notified or updated with the information for reference by others.

In step 430, if a state is being exited, the state being exited is popped from the stack of states. The state being exited is the most recent state pushed onto the stack of states. For example, if the state being exited is the InKeyword state, the InKeyword state is popped from the stack of states to indicate that the method is no longer in the midst of reading a keyword. If a state is not being exited, a state may not be popped from the stack, and multiple states may be stored on the stack. In some embodiments, up to 32 states may be present on the stack of states at one time. For example, JavaScript may have embedded HTML, and therefore multiple states may be active at one time to account for nested features. In various embodiments, there may be more than 60 states associated with data packets being analyzed for malicious network content.

In step 435, a new state is pushed onto the stack of states to indicate that the method is now in the midst of a new state. The new state may be determined by the last keyword that was read, or a character indicating a new kind of content. For example, the new state may be an InBetweenKeyword state to indicate that the method is awaiting another keyword to process. In some embodiments, the new state may be an InJavaScript state to indicate that the method is in the midst of reading a JavaScript segment. The state may impact which heuristics are identified and applied to the packet of web data in step 445. For example, a first heuristic may be chosen if a first state is active, whereas a second heuristic may be chosen if a second state is active.

In step 440, the count of characters read in step 405 is evaluated to determine if the data character may lie at the end of a packet. If the data character lies at the end of the packet, the method may proceed to step 445. Otherwise, the method may proceed to step 405.

In step 445, the list of results produced by applying the heuristics in step 425 for the features in the data packet are referenced to determine which features in the data packet are to be processed using a virtual machine. Malicious probability scores for each feature may be compared against a threshold to determine whether the feature indicates suspicious network content. The features associated with the data packet may be ranked in priority order. The features may be used to prioritize whether to refer the data packet, and associated content, to a virtual machine in the order identified in step 425, in the priority order determined by their respective malicious probability scores, or in some other order.

FIG. 5 illustrates an exemplary controller 500. The controller 500 may comprise the malicious network content detection system 125 according to some embodiments. The controller 500 comprises at least a processor 505, a memory system 510, and a storage system 515, which are all coupled to a bus 520. The controller 500 may also comprise a communication network interface 525, an input/output (I/O) interface 530, and a display interface 535. The communication network interface 525 may couple with the communication network 120 via a communication medium 540. In some embodiments, the controller 500 may couple to a tap, such as the tap 115, which in turn couples with the communication network 120. The bus 520 provides communications between the communications network interface 525, the processor 505, the memory system 510, the storage system 515, the I/O interface 530, and the display interface 535.

The communications network interface 525 may communicate with other digital devices (not shown) via the communications medium 540. The processor 505 executes instructions. The memory system 510 permanently or temporarily stores data. Some examples of the memory system 510 are RAM and ROM. The storage system 515 also permanently or temporarily stores data. Some examples of the storage system 515 are hard disks and disk drives. The I/O interface 530 may include any device that can receive input and provide output to a user. The I/O interface 530 may include, but is not limited to, a keyboard, a mouse, a touchscreen, a keypad, a biosensor, a compact disc (CD) drive, a digital versatile disc (DVD) drive, or a floppy disk drive. The display interface 535 may include an interface configured to support a display, monitor, or screen. In some embodiments, the controller 500 comprises a graphical user interface to be displayed to a user over a monitor in order to allow the user to control the controller 500.

According to other embodiments, malicious network content may also include malicious portable document format (PDF) network content. It will be understood that the term “malicious PDF network content” may be understood to include portable document format (PDF) files located on one or more server devices 105 and made available for distribution via the communication network 120 to one or more client devices 110.

Generally speaking, the tap 115 may be adapted to intercept requests to obtain PDF network content received from a web browser, PDF reader application, or any other application, module, or engine requesting such PDF network content, associated with a client device 110. In some embodiments, the tap 115 may be disposed between one or more client devices 110 and one or more server devices 105 and direct requests to obtain PDF network content into the malicious network content detection system 600, which will be described in greater detail infra with reference to FIG. 6. It will be understood that the tap 115 may also be disposed between two or more server devices 105 and provide mechanisms for intercepting PDF network content exchanged between two or more server devices 105.

As background, PDF network content, such as a PDF document may include a fixed-layout document, that when parsed by a PDF reader application (not shown), produce a visual representation of the data included in the PDF document. The data within a PDF document is arranged in a hierarchical manner beginning with a header, a body portion that includes information indicative of one or more objects, a cross-reference table, also known as an “XREF” table, and a trailer. The header includes information indicative of the PDF specification version number to which the document adheres. The version number may be utilized to determine the PDF document reader version that is best adapted to parse the PDF document.

The XREF table includes offset information indicative of the position of objects within the PDF document. As such, the XREF table allows the PDF reader application to parse or walk individual portions (e.g., pages) of the PDF document without a need to parse or walk the entire PDF document. Lastly, the trailer of the PDF document allows the PDF reader application to efficiently locate the XREF table along with any other pertinent objects that may be utilized by the PDF reader application to construct the visual representation.

The body may contain one or more objects that comprise the contents of the PDF document. Generally speaking, the objects of a PDF document may include, but are not limited to, Boolean operators, numbers, names, strings, arrays, dictionaries, streams, and combinations thereof. The body may also include transparent objects such as metadata, security features, and the like.

Objects of a PDF document may be broadly categorized as either direct or indirect. It will be understood that direct objects may not reference other objects. Conversely, indirect object may make reference to one or more objects, which may include both direct and/or indirect objects. The PDF document may also include interactive elements such as AcroForm elements and XML Forms Data Format (XFDF elements). Both AcroForm and XFDF elements allow the inclusion of JavaScript code, also known as JavaScript API.

It will be understood that malware may be adapted to utilize JavaScript code to exploit vulnerabilities present within both PDF reader applications and web browser applications. It will further be understood that PDF reader applications and web browser applications may cooperate with one another via a plug-in. For example, when a web browser requests a PDF document, the PDF reader application is automatically launched to parse the PDF document. If the PDF document includes one or more objects that reference JavaScript code, the JavaScript codes called during parsing may construct virtual operating systems within the web browser for performing one or more functions associated with the JavaScript code.

While plug-in cooperation between the PDF reader application and web browser application provides significant benefits such as cross-platform compatibility (i.e., agnostic to the operating system of the client device 110), numerous vulnerabilities may be created within the web browser, which may expose the client device 110 to different types of malware, viruses, and the like.

In some embodiments, JavaScript code may exploit one or more vulnerabilities of the web browser application by loading memory allocated for operation of the PDF reader application with malicious code, often commonly referred to as “heap spray.” The heap spray may be adapted to prepare the memory allocated for the PDF reader application with shellcode. Once prepared, the vulnerable JavaScript code is called to trigger the vulnerability, execute the shellcode, and ultimately deliver a payload. It will be understood that the term “payload” may include any deleterious effect caused by malicious network content to the client device 110. It is noteworthy that the deleterious effects caused by malicious network content are far too numerous to include individually, but would be readily appreciated by one of ordinary skill in the art with the present disclosure before them. Non-limiting examples of deleterious effects include consumption of memory, overwriting or corruption of system or program files, and the like.

As with HTML documents, suspicious characteristics indicative of malicious network content included with a PDF document may be determined by way of the heuristic module 130 as previously described supra with reference to FIG. 1. As such, the heuristics module 130 may utilize any one (or combination) of heuristic methodologies located with the heuristics database 135.

Referring now to FIG. 6, in some embodiments, suspicious characteristics indicative of malicious network content included with a PDF document may be determined by way of a malicious network content detection system 600. The malicious network content detection system 600 may include each of the components of malicious network content detection system 125 (see FIG. 1) along with one or more additional modules such as a PDF parser 605. The PDF parser 605 may be adapted to examine received (e.g., intercepted) PDF network content to determine if one or more suspicious characteristics indicative of malicious network content are included in the PDF network content. It will be understood that the term “examine” may be understood to include walking, parsing, inspecting, viewing, compiling, reading, extracting, decoding, and/or combinations thereof.

The malicious network content detection system 600 may be adapted to determine suspicious characteristics indicative of malicious network content by way of methods disclosed with regard to HTML files, such as the exemplary method 400 for detecting malicious network content described above with regard to FIG. 4. Additionally, the PDF parser 605 may be adapted to determine one or more suspicious characteristics indicative of malicious network content that are unique to PDF network content. For example, the PDF parser 605 may be adapted to examine the body of PDF network content to located objects that include specific types of JavaScript code. Some non-limiting examples of JavaScript code that are commonly utilized to exploit vulnerabilities in web browser applications include eval( ), util.printf( ), and media.newPlayer( ).

Moreover, creators of PDF network content malware may attempt to obfuscate JavaScript code references to malware by splitting the JavaScript code into a plurality of objects that when referenced by the PDF reader application may be combined to execute the malicious code. Therefore, the PDF parser 605 may be adapted to determine obfuscated malicious JavaScript code divided across multiple objects utilizing the getField( ) function.

In additional embodiments, the PDF parser 605 may be adapted to determine malicious JavaScript code that is encrypted in to PDF network content utilizing software stream ciphers such as RC4 and AES encryption.

While the above examples contemplate the adaptability of the PDF parser 605 to determine suspicious content such as JavaScript code, the PDF parser 605 may be adapted to determine additional types of malware associated with other objects including, but not limited to, embedded Flash stream objects. For example, a Flash file may include ActionScript virtual machine instructions that are adapted to set up a heap spray with shellcode. In an additional example, malicious code may be incorporated into the PDF network content via one or more Tagged Image File Format (TIFF) vulnerabilities. It will be understood that some TIFF vulnerabilities may not utilize heap spray functionalities.

While not an exclusive list, the following features may be indicative of PDF network content having malicious network content: PDFBadVersion (determines if the PDF specification version number associated with the PDF network content is correct), PDFHeader1_(—)0 (examines the header information of the PDF network document for errors, also known as malformed header information), PDFNameJS (examines the PDF document for PDF objects that include names incorporating JS that are indicative of JavaScript code), PDFNameJavaScript (examines the PDF document for PDF objects that include names incorporating JavaScript that are indicative of JavaScript code), PDFBadFileStart (examines the PDF network content for an improper file start signature), PDFNameOpenAction (examines the PDF network content for PDF objects that cause Javascript functionality to be run on the initial loading of the PDF content), PDFCouldNotParse (determines if the PDF parser is unable to properly parse the PDF network content), and/or combinations thereof. The PDF parser 605 may utilize the aforementioned features to determine one or more suspicious characteristics included in the PDF network content.

It will be understood that because one or more portions (e.g., pages) of PDF network content may be assembled without need to walk or parse the entire PDF network content, the PDF parser 605 may be adapted to evaluate only the portion(s) of the PDF network content that has been requested by the client device 110.

Regardless of the type or amount of suspicious characteristics located by the PDF parser 605, if one or more suspicious characteristics are determined to be included in at least a portion of the PDF network content, the at least a portion of PDF network content may be provided to one or more virtual machines for verification of malicious network content.

The one or more virtual machines may be selected from the virtual machine pool 145 based, in part, upon the particular PDF specification version number included in the header of the PDF network content being analyzed. In some embodiments, the one or more virtual machines may each include one or more augmented finite state machines. Each of these augmented finite state machines may include different configurations of computer readable instructions such as operating system instructions, web browser instructions, PDF reader application instructions, plug-in instructions for operatively coupling one or more web browsers to a PDF reader application, along with any additional types of computer readable instructions adapted to verify the inclusion of malicious network content in PDF network content.

In some embodiments, the use of a plurality (i.e., two or more) of augmented finite state machines may allows for PDF network content to be processed across various system configurations (i.e., permutations of operating system instructions, web browser instructions, and PDF reader application instructions). As such, PDF network content that may not exploit vulnerabilities within one type of web browser application may be verified to exploit vulnerabilities within additional types of web browser applications. These types of multi-faceted analyses are more likely to verify the presence of malicious network content within PDF network content that exploit vulnerabilities of specific versions of programs and/or applications.

Each of the augmented finite state machines includes an analysis environment 150 to simulate the receipt, compiling, execution, and/or display of the PDF network content from the server device 105 to analyze the effects of the PDF network content upon the client device 110. For example, the analysis environment 150 may include a web browser requesting the PDF network content from a server device 105. The web browser causes the PDF reader application to parse the PDF network content. If the PDF network content does, in fact, include malicious code (e.g., JavaScript, Flash, etc.), one or more of the vulnerabilities of the web browser application or the PDF reader application may be exploited by the malicious code to deliver a payload. The effects of the payload may be directly or indirectly observed within the analysis environment 150.

It will be understood that an exemplary analysis environment 150 is described supra in greater detail with reference to FIG. 2 and may be adapted for observing the effects of parsing PDF network content determined to include one or more suspicious characteristics.

In some embodiments, the malicious network content detection system 600 may be further adapted to index PDF network content verified to include malicious network content by associating the PDF network content with an identifier indicative of one or more domains from which the PDF network content was obtained and storing the associated PDF network content as a record that resides with one or more databases operatively coupled to one or more server devices 105.

The database may be utilized by the malicious network content detection system 600 to compare PDF network content determined to include one or more suspicious characteristics to the index of PDF network content previously verified to include malicious network. Additionally, all PDF network documents residing on domains determined to have hosted PDF network content verified to include malicious network content may be automatically reviewed without further examination of the PDF network content for suspicious characteristics.

Referring now to FIG. 7, an exemplary method 700 for detecting malicious PDF network content is shown. The method 700 may include the step 705 of intercepting a request for at least a portion of PDF network content via a tap 115 operatively associated therewith. It will be understood that the tap 115 may intercept the at least a portion of PDF network content before the at least a portion of PDF network is received by the web browser application.

Next, the method 700 may include the step 710 of examining the at least a portion of PDF network content to determine if one or more suspicious features and/or characteristics indicative of malicious network content are included in the at least a portion of PDF network content. As stated previously, examining may include utilizing heuristics or a PDF parser to determine the presence of specific features and/or specific vulnerable JavaScript code included with the at least a portion of PDF network content.

The method 700 may also include the step 715 of providing the at least a portion of PDF network content to one or more virtual machines (also known as augmented finite state machines).

Next, the inclusion of malicious network content in the at least a portion of PDF network content may be verified by executing or compiling the at least a portion of PDF network content in the one or more virtual machines in step 720. The compiling of the at least a portion of PDF network content causes vulnerable JavaScript code to execute any malicious network content associated therewith.

The method 700 then may include the step 725 of observing the performance of the one or more virtual machines to determine if the at least a portion of PDF network content, in fact, includes malicious network content. Observations of performance indicative of the execution of malicious network content include, but are not limited to the generation of heap spray within the memory allocated to the PDF reader application, the execution of shellcode, consumption of memory, overwriting or corruption of system or program files, and the like.

Lastly, the method 730 may include the step of preventing the delivery of the at least a portion of PDF network content verified to include malicious network to the client device from which the request was received.

The embodiments discussed herein are illustrative. As these embodiments are described with reference to illustrations, various modifications or adaptations of the methods and/or specific structures described may become apparent to those skilled in the art.

The above-described modules may be comprised of instructions that are stored on storage media (e.g., computer readable media). The instructions may be retrieved and executed by a processor (e.g., the processor 505). Some examples of instructions include software, program code, and firmware. Some examples of storage media comprise memory devices and integrated circuits. The instructions are operational when executed by the processor to direct the processor to operate in accordance with embodiments of the present invention. Those skilled in the art are familiar with instructions, processor(s), and storage media.

In the foregoing specification, the invention is described with reference to specific embodiments thereof, but those skilled in the art will recognize that the invention is not limited thereto. Various features and aspects of the above-described invention can be used individually or jointly. Further, the invention can be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. The specification and drawings are, accordingly, to be regarded as illustrative rather than restrictive. It will be recognized that the terms “comprising,” “including,” and “having,” as used herein, are specifically intended to be read as open-ended terms of art. 

What is claimed is:
 1. A method comprising: adapting, by a digital device, a portable document format (PDF) parser to evaluate a PDF document received over a network, the PDF parser to (i) examine a portion of a body section of the PDF document where the portion of the body section of the PDF document is lesser in size than an entirety of the body section of the PDF document and (ii) determine if one or more suspicious characteristics indicative of malicious network content are included in the portion of the body section of the PDF document; and when the portion of the body section of the PDF document is determined to include one or more suspicious characteristics indicative of malicious network content, providing the portion of the body section of the PDF document to one or more virtual machines associated with the digital device to verify the inclusion of malicious network content in the portion of the body section of the PDF document, and wherein verification of the inclusion of the malicious network content comprises execution of a PDF reader application by the one or more virtual machines to process the portion of the body section of the PDF document so as to determine if the portion of the body section of the PDF document includes malicious network content.
 2. The method according to claim 1, wherein examining further includes: determining a score associated with the one or more suspicious characteristics for the portion of the body section of the PDF document, the score indicative of a probability that the portion of the body section of the PDF document includes malicious network content; and identifying the portion of the body section of the PDF document as suspicious if the score satisfies a threshold value.
 3. The method according to claim 2, wherein the score is determined by an approximate Bayesian probability analysis using a corpus of malicious network content and a corpus of non-malicious network content.
 4. The method of claim 2, further comprising increasing at least one of a priority level and the score associated with the one or more suspicious characteristics of the portion of the body section of the PDF document when the portion of the body section of the PDF document includes more than one suspicious characteristic.
 5. The method according to claim 1, wherein the one or more suspicious characteristics indicative of malicious network content includes one or more objects that include JavaScript code.
 6. The method according to claim 1, wherein the portion of the body section of the PDF document comprises particular pages within the body section of the PDF document.
 7. The method according to claim 1, wherein the examining of the portion of the body section of the PDF document includes applying heuristics to determine if at least one suspicious characteristic indicative of malicious network content is included in the portion of the body section of the PDF document.
 8. The method according to claim 1, wherein the one or more suspicious characteristics includes an inability to completely parse the portion of the body section of the PDF document.
 9. The method according to claim 1, wherein the one or more suspicious characteristics indicative of malicious network content includes any of JavaScript information, VirtualBasic Script information, malformed header information, and combinations thereof.
 10. The method according to claim 9, wherein the JavaScript information includes one or more JavaScript keyword sequences that include an “unescape” command nested within an “eval” command argument.
 11. The method according to claim 1, wherein examining further includes measuring a number of characters between a start and an end of a JavaScript code included in the portion of the body section of the PDF document.
 12. The method according to claim 1, wherein examining further includes identifying a string of low-probability character transitions within a JavaScript code embedded within the portion of the body section of the PDF document.
 13. The method according to claim 1, wherein the one or more virtual machines includes two or more augmented finite state machines, the two or more augmented finite state machines each including a configuration that includes at least one set of operating system instructions, at least one set of web browser instructions, and at least one set of PDF reader instructions, the configuration of each of the two or more augmented finite state machines being different from one another in at least one way.
 14. The method according to claim 1, further comprising associating the portion of the body section of the PDF document verified to include malicious network content with one or more domains from which the portion of the body section of the PDF document verified to include malicious network content was obtained, such that the one or more domains are a suspicious characteristic indicative of malicious network content.
 15. The method according to claim 1, further comprising preventing the delivery of the portion of the body section of the PDF document verified to include malicious network content to a web browser application from which the delivery was requested.
 16. The method according to claim 1, further comprising intercepting the portion of the body section of the PDF document before the examining of the body section of the PDF document.
 17. The method of claim 1, wherein the examining comprises examining the portion of the body section of the intercepted PDF document with respect to a plurality of predetermined suspicious characteristics.
 18. The method of claim 1, wherein the one or more virtual machines each include a configuration that includes at least one set of PDF reader instructions for execution by the digital device.
 19. The method of claim 1, further comprising providing the PDF reader application for execution by the one or more virtual machines after determining the inclusion of the one or more suspicious characteristics within the portion of the body section of the PDF document and prior to verifying the inclusion of the malicious network content.
 20. The method of claim 1, wherein the digital device comprises at least one hardware processor that executes the one or more virtual machines that verifies inclusion of the malicious network content in the portion of the body section of the PDF document prior to execution of the portion of the body section of the PDF document by a client device.
 21. The method of claim 1, further comprising during processing of the portion of the body section of the PDF document, monitoring a behavior of the portion of the body section of the PDF document filby the one or more virtual machines and verifying inclusion of the malicious network content by the one or more virtual machines if the behavior fails to correspond to an anticipated behavior of the portion of the body section of the PDF document.
 22. The method of claim 1, wherein the one or more virtual machines to further process a header of the PDF document along with the portion of the body section of the PDF document.
 23. The method of claim 1, wherein the one or more virtual machines to further process only a header of the PDF document and the portion of the body section of the PDF document.
 24. The method of claim 1, wherein the one or more virtual machines to further process a trailer of the PDF document.
 25. The method of claim 1, wherein the one or more virtual machines process the portion of the body section of the PDF document, a header of the PDF document, and one of a cross-reference table of the PDF document or a trailer of the PDF document.
 26. The method of claim 1, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, (2) errors within header information of the PDF document, (3) a PDF object that includes a name that is indicative of JavaScript code, (4) an improper PDF document start signature, (5) a PDF object that causes JavaScript functionality to be run on initial loading of the PDF document, or (6) an inability of the PDF document to be parsed properly.
 27. A system comprising: a tap configured to intercept network data including a portable document format (PDF) document from a network, the tap being configured to be communicatively coupled to the network; and a computing processing system configured to detect malicious network content within the PDF document, the computing processing system being configured to be communicatively coupled to the tap and executing instructions, the computer processing system comprising: a processor, and a storage device communicatively coupled to the processor, the storage device comprises a PDF parser, adapted by the computing processing system, to analyze a portion of the body section of the PDF document, wherein the portion of the body section of the PDF document is lesser in size than an entirety of the body section of the PDF document, and based on the analysis of the portion of the body section of the PDF document, determine if one or more suspicious characteristics indicative of malicious network content are included in the portion of the body section of the PDF document, and one or more virtual machines configured to be communicatively coupled to the PDF parser, the one or more virtual machines being configured to verify the inclusion of malicious network content in the portion of the body section of the PDF document, wherein if the portion of the body section of the PDF document is determined by the PDF parser to include one or more suspicious characteristics indicative of malicious network content, the portion of the body section of the PDF document is provided to the one or more virtual machines to verify the inclusion of malicious network content in the portion of the body section of the PDF document, and wherein verification of the inclusion of the malicious network content comprises execution of a PDF reader application by the one or more virtual machines to process the portion of the body section of the PDF document so as to determine if the portion of the body section of the PDF document includes malicious network content.
 28. The system according to claim 27, wherein the PDF parser is further configured to: determine a score associated with the one or more suspicious characteristics for the portion of the body section of the PDF document, the score indicative of a probability that the portion of the body section of the PDF document includes malicious network content; and identify the portion of the body section of the PDF document as suspicious if the score satisfies a threshold value.
 29. The system according to claim 28, wherein the score is determined by an approximate Bayesian probability analysis using a corpus of malicious network content and a corpus of non-malicious network content.
 30. The system according to claim 27, wherein the body portion of the PDF document includes one or more objects, each object includes one of a Boolean operator, a number, a name, a data string, or metadata.
 31. The system according to claim 27, wherein the one or more suspicious characteristics indicative of malicious network content includes one or more objects that include JavaScript code.
 32. The system according to claim 27, wherein the one or more virtual machines analyze the portion of the body section of the PDF document while a remaining portion of the body section of the PDF document is not received for analysis by the one or more virtual machines.
 33. The system according to claim 32, wherein the portion of the body section of the PDF document comprises particular pages within the body section of the PDF document that are less than all of the pages within the body section of the PDF document.
 34. The system according to claim 27, further comprising a heuristics module coupled to the PDF parser to perform a probability analysis to determine if one or more suspicious characteristics indicative of malicious network content is included in the portion of the body section of the PDF document.
 35. The system according to claim 27, wherein the one or more suspicious characteristics includes an inability to completely parse the PDF document.
 36. The system according to claim 27, wherein the one or more suspicious characteristics indicative of malicious network content includes any of JavaScript information, malformed header information, and combinations thereof.
 37. The system according to claim 36, wherein JavaScript information includes one or more JavaScript keyword sequences that include an “unescape” command nested within an “eval” command argument.
 38. The system according to claim 27, wherein the PDF parser is further configured to measure a number of characters between a start and an end of a JavaScript code included in the portion of the body section of the PDF document.
 39. The system according to claim 27, wherein the PDF parser is further configured to identify a string of low-probability character transitions within a JavaScript code embedded within the portion of the body section of the PDF document.
 40. The system according to claim 27, wherein the one or more virtual machines includes two or more augmented finite state machines, wherein the two or more augmented finite state machines each include a configuration that includes at least one set of operating system instructions, at least one set of web browser instructions, and at least one set of PDF reader instructions, wherein the configuration of each of the two or more augmented finite state machines is different from one another.
 41. The system according to claim 27, wherein the computing processing system is further configured to associate the portion of the body section of the PDF document verified to include malicious network content with one or more domains from which the portion of the body section of the PDF document verified to include malicious network content was obtained, such that the one or more domains are a suspicious characteristic indicative of malicious network content.
 42. The system according to claim 27, wherein the computing processing system is further configured to prevent the delivery of the portion of the body section of the PDF document verified to include malicious network content to a web browser application from which the delivery was requested.
 43. The system of claim 27, wherein the PDF parser is further configured to examine the portion of the body section of the intercepted PDF document with respect to a plurality of predetermined suspicious characteristics.
 44. The system of claim 27, wherein the one or more virtual machines are executed by at least one hardware processor, wherein the one or more virtual machines verify inclusion of the malicious network content in the portion of the body section of the PDF document during execution of the PDF reader application by the one or more virtual machines.
 45. The system of claim 27, wherein the one or more virtual machines, during processing of the portion of the body section of the PDF document, monitor a behavior of the portion of the body section of the PDF document and determine that the portion of the body section of the PDF document includes malicious network content if the behavior fails to correspond to an anticipated behavior of the portion of the body section of the PDF document.
 46. The system of claim 27, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, or (2) errors within header information of the PDF document.
 47. The system of claim 27, wherein the one or more virtual machines to process the portion of the body section of the PDF document along with a header of the PDF document.
 48. The system of claim 27, wherein the one or more virtual machines to process the portion of the body section of the PDF document along with a header of the PDF document and a cross-reference table of the PDF document.
 49. The system of claim 27, wherein the one or more virtual machines to process the portion of the body section of the PDF document along with a header of the PDF document and a trailer of the PDF document.
 50. The system of claim 27, wherein the portion of the body section of the PDF document further comprises two or more of a header section of the PDF document, a cross-reference table of the PDF document or a trailer of the PDF document.
 51. A non-transitory computer readable storage medium having embodied thereon a program, the program being executable by a processor implemented within a digital device to perform a method for detecting malicious portable document format (PDF) network content that includes: adapting a PDF parser to evaluate a portion of a PDF document received over a network, wherein the portion of the PDF document is less than an entirety of the PDF document; using the PDF parser to examine the portion of the PDF document received over the network to determine if one or more suspicious characteristics indicative of malicious network content are included in the portion of the PDF document, the portion of the PDF document file includes at least one of (1) a header of the PDF document, (2) a body section of the PDF document, (3) a trailer of the PDF document or (4) a cross-reference table of the PDF document; and when the portion of the PDF document is determined to include one or more suspicious characteristics indicative of malicious network content, providing the portion of the PDF document file to one or more virtual machines associated with the digital device to verify the inclusion of malicious network content in the portion of the PDF document, wherein verification of the inclusion of the malicious network content comprises execution of a PDF reader application by the one or more virtual machines to process the portion of the PDF document so as to determine if the portion of the PDF document includes malicious network content.
 52. The non-transitory computer readable storage medium of claim 51, wherein the one or more virtual machines, during processing of the body section of the PDF document, monitor a behavior of the body section of the PDF document and determine that the body section of the PDF document includes malicious network content if the behavior fails to correspond to an anticipated behavior of the body section of the PDF document.
 53. The non-transitory computer readable storage medium of claim 51, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, (2) errors within header information of the PDF document, (3) a PDF object that includes a name that is indicative of JavaScript code, (4) an improper PDF document start signature, (5) a PDF object that causes JavaScript functionality to be run on initial loading of the PDF document, or (6) an inability of the PDF document to be parsed properly.
 54. The non-transitory computer readable storage medium of claim 51, wherein the portion of the PDF document comprises the header and the body section of the PDF document.
 55. The non-transitory computer readable storage medium of claim 54, wherein the portion of the PDF document further comprises the cross-reference table of the PDF document.
 56. The non-transitory computer readable storage medium of claim 54, wherein the portion of the PDF document further comprises the trailer of the PDF document.
 57. The non-transitory computer readable storage medium of claim 51, wherein the portion of the PDF document comprises (1) the header of the PDF document, (2) the body section of the PDF document, and (3) the trailer of the PDF document that are collectively lesser in size than an entirety of the PDF document.
 58. A method comprising: adapting, by a digital device, a portable document format (PDF) parser to evaluate a portion of a PDF document received over a network, wherein the portion of the PDF document is less than an entirety of the PDF document; using the PDF parser to examine the portion of the PDF document received over the network to determine if one or more suspicious characteristics indicative of malicious network content are included in the portion of the PDF document, the portion of the PDF document includes one or more of (1) a header of the PDF document, (2) a body section of the PDF document, (3) a trailer of the PDF document or (4) a cross-reference table of the PDF document and the portion of the PDF document includes less information than the PDF document, wherein an entirety of the PDF document includes the header, the body section, the trailer and the cross-reference table; and when the portion of the PDF document is determined to include one or more suspicious characteristics indicative of malicious network content, providing the portion of the PDF document to one or more virtual machines associated with the digital device to verify the inclusion of malicious network content is in the portion of the PDF document, wherein verification of the inclusion of the malicious network content comprises execution of a PDF reader application by the one or more virtual machines to process the portion of the PDF document so as to determine if the portion of the PDF document includes malicious network content.
 59. The method of claim 58, the suspicious characteristics associated with the portion of the PDF document comprising embedded objects.
 60. The method of claim 58, the one or more virtual machines are implemented within the digital device.
 61. The method of claim 58, further comprising during processing of the body section of the PDF document, monitoring a behavior of the body section of the PDF document by the one or more virtual machines and verifying inclusion of the malicious network content by the one or more virtual machines if the behavior fails to correspond to an anticipated behavior of the body section of the PDF document.
 62. The method of claim 58, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, or (2) errors within header information of the PDF document.
 63. The method of claim 58, wherein the PDF parser is configured to evaluate particular pages within the body section of the PDF document to determine whether the particular pages of the PDF document includes one or more suspicious characteristics associated with malicious network content.
 64. The method of claim 58, wherein the portion of the PDF document comprises the header and the body section of the PDF document.
 65. The method of claim 64, wherein the portion of the PDF document further comprises the trailer of the PDF document.
 66. The method of claim 58, wherein the portion of the PDF document comprises two or more of (1) the header of the PDF document, (2) the body section of the PDF document, (3) the trailer of the PDF document or (4) the cross-reference table of the PDF document.
 67. A method for detecting malicious network content within a portable document format (PDF) document, comprising: adapting, by a digital device, a PDF parser to evaluate a first portion of the PDF document, the first portion of the PDF document is less than an entirety of the PDF document; identifying, using the PDF parser of the digital device, the first portion of the PDF document received over a network; and determining if the first portion of the PDF document includes malicious network content using one or more virtual machines associated with the digital device, the one or more virtual machines being configured to execute a PDF reader application to process the first portion of the PDF document so as to determine if the first portion of the PDF document includes malicious network content, the first portion of the PDF document being provided to the one or more virtual machines when the PDF parser determines that one or more suspicious characteristics indicative of malicious network content are included in the first portion of the PDF document, wherein the first portion of the PDF document includes data associated with one of (1) a header of the PDF document, (2) a body section of the PDF document, (3) a trailer of the PDF document or (4) a cross-reference table of the PDF document.
 68. The method of claim 67, further comprising: prior to the determining if the first portion of the PDF document includes malicious network content, examining by the digital device a second portion of the PDF document received over the network, wherein the second portion of the PDF document is different than the first portion of the PDF document and the first portion and the second portion of the PDF document both include less data than an entirety of the PDF document; and determining if one or more suspicious characteristics indicative of malicious network content are included in the second portion of the PDF document, wherein the second portion of the PDF document comprises at least one of (1) the header of the PDF document, (2) the body section of the PDF document, (3) the trailer of the PDF document or (4) the cross-reference table of the PDF document and being different than the first portion.
 69. The method of claim 68, wherein the examining of the second portion of the PDF document by the digital device is performed by a PDF parser within the digital device.
 70. The method of claim 68, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, (2) errors within header information of the PDF document, (3) a PDF object that includes a name that is indicative of JavaScript code, (4) an improper PDF document file start signature, (5) a PDF object that causes JavaScript functionality to be run on initial loading of the PDF document, or (6) an inability of the PDF document to be parsed properly.
 71. The method of claim 68, wherein the second portion of the PDF document comprises the header of the PDF document.
 72. The method of claim 71, wherein the first portion of the PDF document comprises the body section of the PDF document.
 73. The method of claim 72, wherein the first portion of the PDF document further comprises the header section of the PDF document.
 74. The method of claim 68, wherein the first portion of the PDF document comprises (1) the header of the PDF document, (2) the body section of the PDF document, (3) the trailer of the PDF document or (4) the cross-reference table of the PDF document.
 75. The method of claim 67, wherein the one or more virtual machines, during processing of the first portion of the PDF document by the PDF reader application, monitor a behavior of the first portion of the PDF document and determine that the first portion of the PDF document includes malicious network content if the behavior fails to correspond to an anticipated behavior of the PDF document.
 76. A method comprising: adapting, by a digital device, a portable document format (PDF) parser to evaluate a first portion of a PDF document, wherein the first portion of the PDF document is less than an entirety of the PDF document; using the PDF parser to examine, by the digital device, the first portion of the) PDF document received from a data access component that copies network data to determine if one or more suspicious characteristics indicative of malicious network content are included in the first portion of the PDF document, the first portion including one or more sections of the PDF document that include (1) a header of the PDF document, (2) a body section of the PDF document, (3) a trailer of the PDF document or (4) a cross-reference table of the PDF document and excluding a second portion of the PDF document that includes one or more sections of the PDF document that include (1) the header of the PDF document, (2) the body section of the PDF document, (3) the trailer of the PDF document or (4) the cross-reference table of the PDF document; and when the first portion of the PDF document is determined to include one or more suspicious characteristics indicative of malicious network content, providing the first portion of the PDF document to one or more virtual machines residing within the digital device, executing a PDF reader application by the one or more virtual machines to process the first portion of the PDF document, monitoring a behavior of the first portion of the PDF document, and determining that the first portion of the PDF document includes malicious network content if the behavior fails to correspond to an anticipated behavior for the first portion of the PDF document.
 77. The method of claim 76, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, (2) errors within header information of the PDF document, (3) a PDF object that includes a name that is indicative of JavaScript code, (4) an improper PDF document start signature, (5) a PDF object that causes JavaScript functionality to be run on initial loading of the PDF document, or (6) an inability of the PDF document to be parsed properly.
 78. The method of claim 76, wherein the first portion of the PDF document comprises the header and the body portion of the PDF document.
 79. The method of claim 76, wherein the second portion of the PDF document comprises the cross-reference table of the PDF document.
 80. The method of claim 79, wherein the second portion of the PDF document further comprises the trailer of the PDF document.
 81. The method of claim 76, wherein the second portion of the PDF document comprises the header of the PDF document.
 82. A method for detecting malicious network content within a portable document format (PDF) document, comprising: copying PDF document identified in a data flow from a data access component coupled to a network to a digital device different than a client digital device; adapting, by the digital device, a PDF parser to evaluate a portion of a body section of the PDF document, the portion of the body section of the PDF document is less than an entirety of the body section of the PDF document; using the PDF parser of the digital device to examine the portion of the body section of the PDF document received from the data access component to determine if one or more suspicious characteristics indicative of malicious network content are included in the portion of the body section of the PDF document; and when the portion of the body section of the PDF document is determined to include one or more suspicious characteristics indicative of malicious network content, providing the portion of the body section of the PDF document to one or more virtual machines residing within the digital device and executing a PDF reader application by the one or more virtual machines to process the portion of the body section of the PDF document in order to verify that the portion of the body of the PDF document includes malicious network content.
 83. The method of claim 82, wherein the verifying of the inclusion of the malicious network content comprises executing the PDF reader application by the one or more virtual machines, monitoring a behavior of the portion of the body section of the PDF document by the one or more virtual machines, and determining, by the one or more virtual machines, that the portion of the body section of the PDF document includes malicious network content when the behavior fails to correspond to an anticipated behavior of the portion of the body section of the PDF document.
 84. The method of claim 82, wherein the suspicious characteristics indicative of malicious network content include one or more of (1) an incorrect version number associated with the PDF document, or (2) errors within header information of the PDF document.
 85. The method of claim 82, wherein the portion of the body section of the PDF document further comprises a header of the PDF document.
 86. The method of claim 82, wherein the portion of the body section of the PDF document further comprises a cross-reference table of the PDF document.
 87. The method of claim 82, wherein the PDF parser is configured to evaluate particular pages within the body portion of the PDF document that has been requested by a client device to determine whether the requested portion of the PDF document includes one or more suspicious characteristics indicative of malicious network content.
 88. The method of claim 82, wherein the portion of the body section of the PDF document further comprises two or more of a header of the PDF document, a cross-reference table of the PDF document or a trailer of the PDF document. 